<script>
$(function() {
    $("img.lazy").lazyload({effect : "fadeIn",threshold :50});
});
var aphly_viewerjs = document.getElementById('aphly_viewerjs');
if(aphly_viewerjs){
    var aphly_viewer = new Viewer(aphly_viewerjs,{
        url: 'data-original',
        toolbar:false,
        title:false,
        rotatable:false,
        scalable:false,
        keyboard:false,
        filter(image) {
            if(image.className.indexOf("aphly_viewer") != -1){
                return true;
            }else{
                return false;
            }
        },
    });
}
</script>
<script src="{{ URL::asset('js/bootstrap.bundle.min.js') }}"></script>
</body>
</html>
